package com.smiier.skin.net;

import java.util.ArrayList;

import android.content.Context;
import cn.o.app.net.NetTask;

import com.smiier.skin.constant.Constant;
import com.smiier.skin.net.FollowCheckTask.FollowCheckRequest;
import com.smiier.skin.net.FollowCheckTask.FollowCheckResponse;
import com.smiier.skin.util.GlobalSettings;

/**
 * 检查关注状态
 * 
 * @author 杨文华
 * 
 */
public class FollowCheckTask extends
		NetTask<FollowCheckRequest, FollowCheckResponse> {

	public static class FollowCheckRequest extends ORequest {
		public String appname = Constant.APP_NAME;
		public ArrayList<Long> qids;
		public ArrayList<Long> uids;
		public String method = GlobalSettings.FOLLOW_METHOD_ADD;
		public String token;
	}

	public static class FollowCheckResponse extends OResponse {
		public ArrayList<Long> Res;
	}

	@Override
	public void setContext(Context context) {
		super.setContext(context);
		mUrl = GlobalSettings.SERVER_URL + GlobalSettings.SERVER_URL_JOIN
				+ "?api=Follow.Check";
		mRequestMethod = METHOD_GET;
	}
}
